Skip to content

Comments

don't report communication error on discovery abort#14992

Merged
nohwnd merged 2 commits intomicrosoft:mainfrom
nohwnd:dont-report-error-on-abort
Jan 28, 2025
Merged

don't report communication error on discovery abort#14992
nohwnd merged 2 commits intomicrosoft:mainfrom
nohwnd:dont-report-error-on-abort

Conversation

@nohwnd
Copy link
Member

@nohwnd nohwnd commented Jan 28, 2025

Description

When TE is "cancelling" discovery, it issues the abort command and that will close the communication channel. If the proxy is writing the request into it there will be an exception saying that we could not write to the channel. We already cancelled so we don't need to report this, since this is a race condition and user cannot do anything about the "error".

Related issue

https://devdiv.visualstudio.com/DevDiv/_queries/edit/2016626/?queryId=a6567881-6d43-4514-bab9-161652f32037

@nohwnd nohwnd merged commit 06f4f13 into microsoft:main Jan 28, 2025
7 checks passed
This was referenced Jul 21, 2025
This was referenced Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant